package org.wsjy.exception;

/**
 * 空异常
 * 
 * @Title:
 * @Company:万世极缘网络工作室
 * @Description:
 * @Author:wsjy
 * @Since:2016年1月16日
 * @Copyright:Copyright (c) 2016
 * @ModifyDate:
 * @Version:1.1.0
 */
public class NullException extends Exception {
    public static Integer ERROR_CODE_NO_DATA = 56;
    private Integer errorCode;
    private String errorMsg;
    /**
     * 
     */
    private static final long serialVersionUID = 2986520776911281938L;

    public NullException(Integer errorCode, String errorMsg) {
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }

    public Integer getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(Integer errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

}
